package org.train.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateUtil{
    private static final SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
    public static String DateToStr(Date date){
        return dateFormat.format(date);
    }
}
